<?php
namespace app\index\controller;
use think\Controller;
use app\common\controller\HomeBase;
use think\db;
//公共控制器
class Publics extends Controller
{
//  public function top()
//  {	
//  	//调用栏目数据
//	      $cate=db('category')->where('pid','=',0)->select();
//	      $this->assign('cate',$cate);
////	      halt($cate);
//     //调取子栏目数据
//      $son=db('category')->order('sort asc')->where('pid','>',0)->select();
//	    $this->assign('son',$son);
////	    halt($son);
//       return $this->fetch();
//  }

    //网站状态
    public function close(){
    	
    	
    	return $this->fetch('publics/web_close');
    }
    
}
